A1 = readmatrix('NiI2_bulk_photocurr_20cool_0vwarm.txt')
A2 = readmatrix('NiI2_bulk_photocurr_-20cool_0vwarm.txt')

x1 = A1(:,1)
y1 = A1(:,2)

x2 = A2(:,1)
y2 = A2(:,2)


hold on
xlim([50, 65])
plot(x1,y1,'Linewidth',1,'Color',[0.8 0 0])
plot(x2,y2,'Linewidth',1,'Color',[0 0 0.8])
xlabel('Temperature [K]')
ylabel('Photocurrent [pA]')
set(gca,'XMinorTick','on','YMinorTick','on')
legend('20V', '-20V')
legend boxoff
box on
hold off

set(gcf,'Position',[0, 0, 200, 200])